//Download by http://www.NewXing.com
// FileOP.h: interface for the CFileOP class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FILEOP_H__8A3CCD0F_7360_497B_B85A_7D5BECB91CFA__INCLUDED_)
#define AFX_FILEOP_H__8A3CCD0F_7360_497B_B85A_7D5BECB91CFA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define COPY_CFILE	0
#define COPY_API	1
class CFileOP : public CObject  
{
public:
	CFileOP();
	virtual ~CFileOP();
	static BOOL Copy(CString strSourcePath, CString strTargetPath, int nType = COPY_API);
protected:
	static BOOL CopyByCFile(CString strSourcePath, CString strTargetPath);
	static BOOL CopyByApi(CString strSourcePath, CString strTargetPath);
};

#endif // !defined(AFX_FILEOP_H__8A3CCD0F_7360_497B_B85A_7D5BECB91CFA__INCLUDED_)
